﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ClearPwd : MonoBehaviour
{
    private Button btn;
    public InputField clear;
    public InputField account;
    // Start is called before the first frame update
    void Start()
    {
        btn = GetComponent<Button>();
        btn.onClick.AddListener(OnClickBtn);
    }

    void OnClickBtn()
    {
        clear.text = "";
        account.text = "";
    }

    
}
